package dk.ucn.datamatiker.henrik.bundtkage.earthcake.albeheweather;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class AlarmReceiver extends BroadcastReceiver{

	private static String LOG ="AlBeHeWeather";
	@Override
	public void onReceive(Context context, Intent intent) {
		try {
			States.getInstance().getLocalWeatherView().setWeather();
			Log.d(LOG, "Local weather has been updated");
		} catch (Exception e) {
			Log.d(LOG, "Something went wrong");
		}
		
	}

}
